package com.cqwu.dao;

import java.util.List;

import com.cqwu.bean.Sysuser;
import com.cqwu.util.PageBean;

/**
* @Title: SysUserDao
* @Description: 
* @Company: 物联网俱乐部
* @author: lj
* @date: Nov 17, 2015 3:49:34 PM
*/
public interface SysUserDao<T> {
	/**
	 * 根据ID获取用户信息
	 * @param id id参数
	 * @return 返回用户对象
	 */
	public Sysuser get(Integer id);
	
	public List<T> getPageData(String hql,int pageNum,int pageSize);
	
	public Long getTotalRecord(Class<T> entityClazz);
}
